<template>
  <div>
    <a-modal
        title="新建"
        :destroyOnClose="true"
        :visible="this.popupVisible"
        :footer="null"
        :width="1200"
        @cancel="handleCancel"
    >
      <AbstractionForm></AbstractionForm>
    </a-modal>
  </div>
</template>

<script>
import {mapMutations, mapState} from 'vuex'
import AbstractionForm from "@/pages/systemManage/abstractionList/AbstractionForm";

export default {
  name: "AbstractionPopup",
  components: {AbstractionForm},
  computed: {
    ...mapState('abstractionList', ['popupVisible'])
  },
  methods: {
    ...mapMutations('abstractionList', ['setState']),
    handleCancel() {
      this.setState({name: 'popupVisible', value: false})
      this.setState({name: 'popupTitle', value: undefined})
    }
  }
}
</script>

<style scoped>

</style>
